package com.example.order.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "stock", path = "/stock")
public interface StockFeignService {

    @RequestMapping("/reduce")
    String reduce();

//    第三次作业
    @RequestMapping("/work")
    String work();
}